#ifndef ANIMATEDIALOG_H
#define ANIMATEDIALOG_H

#include <QDialog>
#include<QHBoxLayout>
#include"animatestackedwidget.h"
#include"page1.h"
#include"page2.h"

class AnimateDialog : public QDialog
{
    Q_OBJECT

public:
    explicit AnimateDialog(QWidget *parent = nullptr);
    ~AnimateDialog();


    //自定义成员
private:
    AnimateStackedWidget *m_asw;
    Page1 *m_page1;
    Page2 *m_page2;

private slots:
    void onPage1Clicked();
    void onPage2Clicked();

};

#endif // ANIMATEDIALOG_H
